<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
{{assign var="title" value=$title|default:'Params表管理'}}
{{assign var="app" value='params'}}
{{assign var="act" value='index'}}
{{assign var="table" value='params'}}
{{assign var="td" value='8'}}
<title>{{$title}}管理 - {{'admin|admin_site_name'|C|default:'后台管理'}}</title>
{{include file="include/base.html"}}
{{include file="{{$smarty.const.PLUG}}chosen/chosen.html"}}
{{include file="{{$smarty.const.PLUG}}drag/drag.html"}}
</head>
<body>

<div class="body_right">
	<div id="content">
		<form class="ajaxSubmit" method="post" action="index.php?app=params&act=indexing&type=todo" _function="progress">
			<input type="hidden" name="page" value="1"/>
			<table class="table table-bordered modify">
				<tr class="thead"><td colspan="2">重新索引</td></tr>
				<tr>
					<td>主表名：</td>
					<td>
						<input type="text" name="tablename" value="{{$smarty.get.table}}"/>
						<span class="notice">如:datas</span>
					</td>
				</tr>
				<tr>
					<td>item：</td>
					<td><input type="text" name="item"/> 表单模型唯一名称(暂时还没开发)</td>
				</tr>
			</table>
			<div class="bottom_button"><input type="submit" class="btn btn-success" value="开始重新索引"/></div>
		</form>
	</div>
	<pre class="textac result" style="font-size:17px;color:green;"></pre>
	<script>
		function progress(result){
			$('pre.result').html(result);
		}
	</script>
</div>
</div>

</body>
</html>